package com.sen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 职位表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
@Data
@TableName("role")
public class RoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 职位表id
	 */
	@TableId
	private int id;
	/**
	 * 职位名称
	 */
	private String rolename;
	/**
	 * 状态
	 */
	private Integer state;
	/**
	 *
	 */
	private String remark;

	/**
	 * 角色可查看的页面
	 */
	@TableField(exist = false)
	private MenuEntity menuEntity;
}
